package com.sele.browers;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

/**
 * google driver下载地址
 * http://chromedriver.storage.googleapis.com/index.html
 * @author Admin
 *
 */
public class ChromeDriverImp implements IBrowerDriver{

	public void setSystemProperties() {
		//chrome driver地址
		System.setProperty("webdriver.chrome.driver","F:\\chromedriver.exe");
	}

	public WebDriver getDriver() {
		setSystemProperties();
		return new ChromeDriver();
	}

}
